//========================================================================
// *作者：海盗猫  主页：ilplay.com
// *脚本：DrawMenuAttb
// *描述：
// *?2021 MYJL . All rights reserved.
//* ======================================================================
using System;
namespace HDMCode.FrameEditor
{
    public enum HDMEditorDrawType 
    {
        Draw,
        Once,
        None,
    }
    public class DrawMenu
    {
        public string classify;
        public string menuName;
        public string iconName;
        public HDMEditorDrawType drawType;
    }

    public class HDMEditorMenuAttribute : Attribute
	{
        public DrawMenu draw = new DrawMenu();
        public HDMEditorMenuAttribute(string classify, string menuName, string iconName, HDMEditorDrawType hDMEditorDrawType = HDMEditorDrawType.Draw ) 
        {
            draw.classify = classify;
            draw.menuName = menuName;
            draw.iconName = iconName;
            draw.drawType = hDMEditorDrawType;
        }
    }
}


